
package com.example.sistemacompras.entity;

import android.graphics.Bitmap;

import java.io.Serializable;

public class Product implements Serializable {
    private static final long serialVersionUID = 1L;

    private int id;

    // private ProductCategory productCategory;

    private String name;

    private String description;

    private float unitValue;

    private Bitmap photo;

    private long qtdStock;

    private Client client;

    public Product() {

    }

    public Product(int id, String name, String description, float unitValue, long qtdInStock,
            Bitmap photo, Client client) {
        this.id = id;
        this.qtdStock = qtdInStock;
        this.name = name;
        this.description = description;
        this.unitValue = unitValue;
        this.photo = photo;
        this.client = client;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public float getUnitValue() {
        return unitValue;
    }

    public void setUnitValue(float unitValue) {
        this.unitValue = unitValue;
    }

    public Bitmap getPhoto() {
        return photo;
    }

    public void setPhoto(Bitmap photo) {
        this.photo = photo;
    }

    public long getQtdStock() {
        return qtdStock;
    }

    public void setQtdStock(long qtdStock) {
        this.qtdStock = qtdStock;
    }

    public Client getClient() {
        return client;
    }

    public void setClient(Client client) {
        this.client = client;
    }

}
